package com.xuequ.answerme.beans;

import java.io.Serializable;
import java.util.ArrayList;

import cn.bmob.v3.BmobObject;

/**
 * Created by Shijie on 2015/10/2.
 */
public class AnswerBean extends BmobObject implements Serializable {

    private String answer_content;
    private Integer answer_likes;
    private String answer_objectId;

    //pointer
    private UserBean answerer;
    private QuestionBean answer_of_question;

    public AnswerBean() {
        this.answer_likes = 0;
        this.answer_content = null;
    }

    public String getAnswer_objectId() {
        return answer_objectId;
    }

    public void setAnswer_objectId(String answer_objectId) {
        this.answer_objectId = answer_objectId;
    }

    public String getAnswer_content() {
        return answer_content;
    }

    public void setAnswer_content(String answer_content) {
        this.answer_content = answer_content;
    }

    public Integer getAnswer_likes() {
        return answer_likes;
    }

    public void setAnswer_likes(Integer answer_likes) {
        this.answer_likes = answer_likes;
    }

    public UserBean getAnswerer() {
        return answerer;
    }

    public void setAnswerer(UserBean answerer) {
        this.answerer = answerer;
    }

    public QuestionBean getAnswer_of_question() {
        return answer_of_question;
    }

    public void setAnswer_of_question(QuestionBean answer_of_question) {
        this.answer_of_question = answer_of_question;
    }
}
